#!/usr/bin/env python

# -*- coding: utf-8 -*-

class WSResult:
	results = []
	
	def put(self, item):
		self.results.append(item)
		return self
		
	def as_string(self):
		result = ""
		for row in self.results:
			result += row + "\n"
		return result
	
	def get_all(self):
		return self.results
		
	def unique(self):
		self.results = list(set(self.results))
		return self
